package com.phoenixRising.actions;

import com.opensymphony.xwork2.ActionSupport;

/**
 * Created by IntelliJ IDEA.
 * User: Jaan
 * Date: 24.09.11
 * Time: 14:12
 */
public class WelcomeUser extends ActionSupport {
  private String userName;
  private String message;

  public String execute() {
    message = "Welcome " + userName;
    return SUCCESS;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public void setMessage(String message) {
    this.message = message;
  }

  public String getUserName() {
    return userName;
  }

  public String getMessage() {
    return message;
  }
}